package cn.yuxiaoyuan.base.service;


import cn.yuxiaoyuan.query.BaseQuery;

import java.util.List;

public interface BaseService<T> {
    T findById(Long id);

    List<T> findAll();

    void add(T t);

    void update(T t);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);
}
